{extend name="public:layout" /}
{block name="title"}找回密码{/block}
{block name="head"}
<link rel="stylesheet" type="text/css" href="../static/css/xiu_login.css"/>
{/block}
{block name="body"}


<div class="login-wrap">
		<div class="login-logo">
			<h4 class="login-tit reg-tit">找回密码</h4>
		</div>
		<form method="post" id="findForm"" class="login-form" style="margin-bottom:25px;">
			<input type="hidden" name="step" value="{$step}" />
			{eq name="step" value="1"}
  			<label class="form-label"><span class="form-span"></span><input type="text" name="account" datatype="*" autocomplete="off" class="form-input" placeholder="手机号或邮箱"/></label>
    		<label class="form-label"><span class="form-span form-pass"></span><input type="text" name="vcode" datatype="*" autocomplete="off" class="form-input form-yanzheng" placeholder="验证码"/><img src="{:captcha_src()}" class="captcha" /></label>
    		{/eq}
    		
    		{eq name="step" value="2"}
    		<label class="form-label"><span class="form-span findpass-span"></span><input type="text" name="mcode" datatype="*" autocomplete="off" class="form-input" placeholder="输入收到的验证码"/></label>
    		{/eq}
    		
    		{eq name="step" value="3"}
   			<label class="form-label"><span class="form-span form-pass"></span><input type="text" name="password" datatype="*" autocomplete="off" class="form-input" placeholder="新密码"/></label>
   			<label class="form-label"><span class="form-span form-pass"></span><input type="text" name="password_confirm" datatype="*" autocomplete="off" class="form-input" placeholder="确认密码"/></label>
    		{/eq}
			{eq name="step" value="4"}
		    <button type="button" class="btnSub form-login">重新登录</button>
			{/eq}
			{lt name="step" value="4"}
		    <button type="button" class="btnSub form-login">下一步</button>
		    <div id="validError"></div>
		    {/lt}
		</form>
	</div>
	<div class="footer"></div>

{/block}
{block name="script"}
<script src="/public/home/js/findpwd.js"></script>
{/block}